package com.iwe3.protal.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 购物车中，商品详细对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShoppingGoodsItem {

    private Long id;
    private String name;
    private String provider;
    private BigDecimal price;
    private String imgsrc;
    private Integer buycount; //购买量
    private BigDecimal sumPrice;//小计 = 销量 * 单价
    private Long userId;//购买者
}
